package net.sareweb.acab.components.util;

import java.util.Date;
import java.util.List;

import net.sareweb.acab.entity.City;
import net.sareweb.acab.entity.Country;
import net.sareweb.acab.entity.State;

import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;

@Name("travelCreationData")
@Scope(ScopeType.CONVERSATION)
public class TravelCreationData {
	
	private String travelName;
	private Integer seatAmount;
	private String locationType="";
	private Double fromLat=0.0; 
	private Double fromLon=0.0;
	private Double toLat=0.0;
	private Double toLon=0.0; 
	private Integer fromCountry;
	private Integer fromState;
	private Integer fromCity;
	private Integer toCountry;
	private Integer toState;
	private Integer toCity;
	private String periodType="";
	private Date travelDate1;
	private Date travelDate2;
	private String repType="";
	private List<String> selectedDays;
	
	private List<Country> fromCountries;
	private List<State> fromStates;
	private List<City> fromCities;
	
	private List<Country> toCountries;
	private List<State> toStates;
	private List<City> toCities;
	
	
	
	
	public List<String> getSelectedDays() {
		return selectedDays;
	}
	public void setSelectedDays(List<String> selectedDays) {
		this.selectedDays = selectedDays;
	}
	public Date getTravelDate1() {
		return travelDate1;
	}
	public void setTravelDate1(Date travelDate1) {
		this.travelDate1 = travelDate1;
	}
	public Date getTravelDate2() {
		return travelDate2;
	}
	public void setTravelDate2(Date travelDate2) {
		this.travelDate2 = travelDate2;
	}
	public Integer getFromCountry() {
		return fromCountry;
	}
	public void setFromCountry(Integer fromCountry) {
		this.fromCountry = fromCountry;
	}
	public Integer getFromState() {
		return fromState;
	}
	public void setFromState(Integer fromState) {
		this.fromState = fromState;
	}
	public Integer getToCountry() {
		return toCountry;
	}
	public void setToCountry(Integer toCountry) {
		this.toCountry = toCountry;
	}
	public Integer getToState() {
		return toState;
	}
	public void setToState(Integer toState) {
		this.toState = toState;
	}
	public List<Country> getFromCountries() {
		return fromCountries;
	}
	public void setFromCountries(List<Country> fromCountries) {
		this.fromCountries = fromCountries;
	}
	public List<State> getFromStates() {
		return fromStates;
	}
	public void setFromStates(List<State> fromStates) {
		this.fromStates = fromStates;
	}
	public List<City> getFromCities() {
		return fromCities;
	}
	public void setFromCities(List<City> fromCities) {
		this.fromCities = fromCities;
	}
	public List<Country> getToCountries() {
		return toCountries;
	}
	public void setToCountries(List<Country> toCountries) {
		this.toCountries = toCountries;
	}
	public List<State> getToStates() {
		return toStates;
	}
	public void setToStates(List<State> toStates) {
		this.toStates = toStates;
	}
	public List<City> getToCities() {
		return toCities;
	}
	public void setToCities(List<City> toCities) {
		this.toCities = toCities;
	}
	public Integer getFromCity() {
		return fromCity;
	}
	public void setFromCity(Integer fromCity) {
		this.fromCity = fromCity;
	}
	public Integer getToCity() {
		return toCity;
	}
	public void setToCity(Integer toCity) {
		this.toCity = toCity;
	}
	public Integer getSeatAmount() {
		return seatAmount;
	}
	public void setSeatAmount(Integer seatAmount) {
		this.seatAmount = seatAmount;
	}
	public String getLocationType() {
		return locationType;
	}
	public void setLocationType(String locationType) {
		this.locationType = locationType;
	}
	public Double getFromLat() {
		return fromLat;
	}
	public void setFromLat(Double fromLat) {
		this.fromLat = fromLat;
	}
	public Double getFromLon() {
		return fromLon;
	}
	public void setFromLon(Double fromLon) {
		this.fromLon = fromLon;
	}
	public Double getToLat() {
		return toLat;
	}
	public void setToLat(Double toLat) {
		this.toLat = toLat;
	}
	public Double getToLon() {
		return toLon;
	}
	public void setToLon(Double toLon) {
		this.toLon = toLon;
	}
	public String getPeriodType() {
		return periodType;
	}
	public void setPeriodType(String periodType) {
		this.periodType = periodType;
	}

	public String getRepType() {
		return repType;
	}
	public void setRepType(String repType) {
		this.repType = repType;
	}
	public String getTravelName() {
		return travelName;
	}
	public void setTravelName(String travelName) {
		this.travelName = travelName;
	}
	
	public static final String PERIODTYPE_SINGLE="singleDay";
	public static final String PERIODTYPE_PERIOD="periodOfTime";
	public static final String PERIODTYPE_UNDEFINED="undefinedEnding";
	
	public static final String LOCATIONTYPE_CITY="city";
	public static final String LOCATIONTYPE_MAPS="maps";
	

}
